package com.woniu.finance.mapper;

import java.util.List;
import com.woniu.finance.domain.ApartDepositReceivable;

/**
 * 应收押金Mapper接口
 * 
 * @author yy
 * @date 2023-04-04
 */
public interface ApartDepositReceivableMapper 
{
    /**
     * 查询应收押金
     * 
     * @param id 应收押金主键
     * @return 应收押金
     */
    public ApartDepositReceivable selectApartDepositReceivableById(Long id);

    /**
     * 查询应收押金列表
     * 
     * @param apartDepositReceivable 应收押金
     * @return 应收押金集合
     */
    public List<ApartDepositReceivable> selectApartDepositReceivableList(ApartDepositReceivable apartDepositReceivable);

    /**
     * 新增应收押金
     * 
     * @param apartDepositReceivable 应收押金
     * @return 结果
     */
    public int insertApartDepositReceivable(ApartDepositReceivable apartDepositReceivable);

    /**
     * 修改应收押金
     * 
     * @param apartDepositReceivable 应收押金
     * @return 结果
     */
    public int updateApartDepositReceivable(ApartDepositReceivable apartDepositReceivable);

    /**
     * 删除应收押金
     * 
     * @param id 应收押金主键
     * @return 结果
     */
    public int deleteApartDepositReceivableById(Long id);

    /**
     * 批量删除应收押金
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApartDepositReceivableByIds(Long[] ids);
}
